package com.liuxingwu.service.user;

import com.liuxingwu.pojo.User;

import java.util.List;

/**
 * @author 扫地生_LiuXingWu
 */
public interface UserService {
    //用户登录
    public User login(String userCode, String password);
    //根据用户ID修改密码
    public boolean updatePwd(int id, String pwd);
    //查询记录数
    public int getUserCount(String username,int userRole);
    //根据条件查询用户列表
    public List<User> getUserList(String queryUserName, int queryUserRole, int currentPageNo, int pageSize);


}
